import {http} from "@/interceptor/luch-request/index.js"


// 创建
export const saveSchoolColumn = (data) => {  
    return http.post("api/admin/schoolColumn/v1/saveSchoolColumn", data,{
	header:{
			"content-type": "application/json"
		}
	});	
}
// 编辑
export const updateSchoolColumn = (data) => { 
    return http.put("api/admin/schoolColumn/v1/updateSchoolColumn", data,{
	header:{
			"content-type": "application/json"
		}
	});	
}

// 列表
export const schoolColumnTree = (data) => { 
	return http.get("api/admin/schoolColumn/v1/schoolColumnTree", {
		data: data
	});
}
 
// 删除  
export const deleteSchoolColumn = (data) => {
    return http.delete("api/admin/schoolColumn/v1/deleteSchoolColumn",data,{
		header:{
			"content-type": "application/json"
		}
	});	
} 